$(function() {
$('#imagePanel').crossSlide({
  sleep: 2,
  fade: 1
}, [
  { src: '../images/girl.jpg' },
  { src: '../images/100_0561.JPG'  },
  { src: '../images/100_2341.JPG'  }
 ]);
});





 $(document).ready(pageLoad);
        function pageLoad()
        {
            changeImage(0);
            $("body").click(function() { imageChange = false; });
        }
        var imageChange = true;

        function changeImage(index)
        {
            var images = $("#imagePanel img");
            $("body img:visible").hide();
            images.eq(index++).show();
            if (index == images.length)
            {
                index = 0;
            }
            if (imageChange)
            {
                setTimeout(function() { changeImage(index); }, 3000);
            }
        }
     


 $(document).ready(pageLoad1);
        function pageLoad1()
        {
			$("#menu_list li.qingxin a").mouseover(showDiv);
			$("#menu_list li.qingxin a").mouseover(weight);
			$("#menu_list li.qingxin a").mouseout(weight2);
        }
		function showDiv() 
        {
            $("a,div.touming").fadeIn(100);
		}
        function weight()
		{
			$("div.touming").animate({left:'+=3000px'},500);
		}
		function weight2()
		{
			$("div.touming").animate({left:'-=3000px'},500);
		}
  
        function pageLoad2()
        {
			$("a").mouseout(hide);
        }
	
		function hide() 
        {
            $("div.touming").hide(100);
        }

$(function(){
    $('#menu_list li.qingxin a')
        .css( {backgroundPosition: "0px 0px"} )
        .mouseover(function(){
            $(this).stop().animate({backgroundPosition:"-290px 0px"}, {duration:500})
        })
        .mouseout(function(){
            $(this).stop().animate({backgroundPosition:"-150px 0px"}, {duration:100, complete:function(){
                $(this).css({backgroundPosition: "0px 0px"})
            }})
        })
     });
$(function(){
    $('#menu_list li.news a')
        .css( {backgroundPosition: "0px -34px"} )
        .mouseover(function(){
            $(this).stop().animate({backgroundPosition:"-147px -34px"}, {duration:500})
        })
        .mouseout(function(){
            $(this).stop().animate({backgroundPosition:"-70px -34px"}, {duration:100, complete:function(){
                $(this).css({backgroundPosition: "0px -34px"})
            }})
        })
     });
$(function(){
    $('#menu_list li.about a')
        .css( {backgroundPosition: "0px -70px"} )
        .mouseover(function(){
            $(this).stop().animate({backgroundPosition:"-148px -70px"}, {duration:500})
        })
        .mouseout(function(){
            $(this).stop().animate({backgroundPosition:"-120px -70px"}, {duration:100, complete:function(){
                $(this).css({backgroundPosition: "0px -70px"})
            }})
        })
     });
$(function(){
    $('#menu_list li.photolive a')
        .css( {backgroundPosition: "0px -108px"} )
        .mouseover(function(){
            $(this).stop().animate({backgroundPosition:"-148px -108px"}, {duration:500})
        })
        .mouseout(function(){
            $(this).stop().animate({backgroundPosition:"-120px -108px"}, {duration:100, complete:function(){
                $(this).css({backgroundPosition: "0px -108px"})
            }})
        })
     });
$(function(){
    $('#menu_list li.photoart a')
        .css( {backgroundPosition: "0px -146px"} )
        .mouseover(function(){
            $(this).stop().animate({backgroundPosition:"-148px -146px"}, {duration:500})
        })
        .mouseout(function(){
            $(this).stop().animate({backgroundPosition:"-120px -146px"}, {duration:100, complete:function(){
                $(this).css({backgroundPosition: "0px -146px"})
            }})
        })
     });
$(function(){
    $('#menu_list li.photosite a')
        .css( {backgroundPosition: "0px -184px"} )
        .mouseover(function(){
            $(this).stop().animate({backgroundPosition:"-148px -184px"}, {duration:500})
        })
        .mouseout(function(){
            $(this).stop().animate({backgroundPosition:"-120px -184px"}, {duration:100, complete:function(){
                $(this).css({backgroundPosition: "0px -184px"})
            }})
        })
     });

$(function(){
    $('#menu_list li.photopc a')
        .css( {backgroundPosition: "0px -220px"} )
        .mouseover(function(){
            $(this).stop().animate({backgroundPosition:"-148px -220px"}, {duration:500})
        })
        .mouseout(function(){
            $(this).stop().animate({backgroundPosition:"-120px -220px"}, {duration:100, complete:function(){
                $(this).css({backgroundPosition: "0px -220px"})
            }})
        })
     });

$(function(){
    $('#menu_list li.buy a')
        .css( {backgroundPosition: "0px -258px"} )
        .mouseover(function(){
            $(this).stop().animate({backgroundPosition:"-148px -258px"}, {duration:500})
        })
        .mouseout(function(){
            $(this).stop().animate({backgroundPosition:"-120px -258px"}, {duration:100, complete:function(){
                $(this).css({backgroundPosition: "0px -258px"})
            }})
        })
     });


$(function(){
    $('#menu_list li.email a')
        .css( {backgroundPosition: "0px -295px"} )
        .mouseover(function(){
            $(this).stop().animate({backgroundPosition:"-148px -295px"}, {duration:500})
        })
        .mouseout(function(){
            $(this).stop().animate({backgroundPosition:"-120px -295px"}, {duration:100, complete:function(){
                $(this).css({backgroundPosition: "0px -295px"})
            }})
        })
     });
$(function(){
    $('#menu_list li.links a')
        .css( {backgroundPosition: "0px -329px"} )
        .mouseover(function(){
            $(this).stop().animate({backgroundPosition:"-148px -329px"}, {duration:500})
        })
        .mouseout(function(){
            $(this).stop().animate({backgroundPosition:"-120px -329px"}, {duration:100, complete:function(){
                $(this).css({backgroundPosition: "0px -329px"})
            }})
        })
     });

$(function(){
    $('#menu_list li.man a')
        .css( {backgroundPosition: "0px -367px"} )
        .mouseover(function(){
            $(this).stop().animate({backgroundPosition:"-148px -367px"}, {duration:500})
        })
        .mouseout(function(){
            $(this).stop().animate({backgroundPosition:"-120px -367px"}, {duration:100, complete:function(){
                $(this).css({backgroundPosition: "0px -367px"})
            }})
        })
     });




   
		

